package com.tarena.service;

import java.util.List;

import com.tarena.entity.Meettingaddress;
import com.tarena.entity.Meettingroom;



public interface MeettingaddressService {
	boolean save(Meettingaddress meettingaddress);
	boolean delete(Integer id);
	void update(Meettingaddress meettingaddress);
	List<Meettingaddress> findById(Integer id);
	List<Meettingaddress>  findAllMeettingaddress();
	Integer  getSum();
	List<Meettingroom> findByAddressId(Integer meettingAddressid);
	List<Meettingaddress>  findEmp(Meettingaddress meettingaddress);
	Meettingaddress findMeettingAddressAndMeettingRoom(int id);
	
	// 分页相关的
	List<Meettingaddress> findByPage(int offset, int limit, Meettingaddress meettingaddress) throws Exception;
	List<Meettingaddress> findByPage(int offset, int limit) throws Exception;
	
	
}
